<!DOCTYPE HTML>
<html>

<head>
    <meta charset="utf-8">
    <meta name="renderer" content="webkit|ie-comp|ie-stand">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no" />
    <meta http-equiv="Cache-Control" content="no-siteapp" />
    <!--[if lt IE 9]>
<script type="text/javascript" src="lib/html5.js"></script>
<script type="text/javascript" src="lib/respond.min.js"></script>
<script type="text/javascript" src="lib/PIE_IE678.js"></script>
<![endif]-->
    <link href="__PUBLIC__/css/H-ui.min.css" rel="stylesheet" type="text/css" />
    <link href="__PUBLIC__/css/H-ui.login.css" rel="stylesheet" type="text/css" />
    <link href="__PUBLIC__/css/style.css" rel="stylesheet" type="text/css" />
    <link href="__PUBLIC__/lib/Hui-iconfont/1.0.6/iconfont.css" rel="stylesheet" type="text/css" />
    <!--自定义-->
    <link href="Tpl/Admin/common/login/login.css" rel="stylesheet" type="text/css" />
    <!--[if IE 6]>
<script type="text/javascript" src="http://lib.h-ui.net/DD_belatedPNG_0.0.8a-min.js" ></script>
<script>DD_belatedPNG.fix('*');</script>
<![endif]-->
    <title>智辉科技CRM</title>
    <meta name="keywords" content="青藤微社区，智辉科技青藤物业">
    <meta name="description" content="青藤微社区，智辉科技青藤物业">
</head>

<body>
    <input type="hidden" id="TenantId" name="TenantId" value="" />
    <div class="header"></div>
    <div class="loginWraper">
        <div id="loginform" class="loginBox">
            <form class="form form-horizontal" action="" method="post">
                <div class="row cl">
                    <label class="form-label col-3 white"><i class="Hui-iconfont">&#xe60d;</i></label>
                    <div class="formControls col-8">
                        <input id="username" name="username" type="text" placeholder="账户" class="input-text size-L" errormsg="请输入账号" datatype="*">
                    </div>
                </div>
                <div class="row cl">
                    <label class="form-label col-3 white"><i class="Hui-iconfont">&#xe60e;</i></label>
                    <div class="formControls col-8">
                        <input id="password" name="password" type="password" placeholder="密码" class="input-text size-L">
                    </div>
                </div>
                <div class="row cl">
                    <div class="formControls col-8 col-offset-3">
                        <input class="input-text size-L" name="code" type="text" placeholder="验证码" onblur="if(this.value==''){this.value='验证码:'}" onclick="if(this.value=='验证码:'){this.value='';}" value="验证码:" style="width:150px;" id="code">
                        <img src="{:U('Index/verifyCode')}" id="yanzhenImg" class="kanbuq" style="cursor:hand"> <a href="javascript:;" class="white kanbuq">看不清，换一张</a> </div>
                </div>
                <div class="row">
                    <div class="formControls col-8 col-offset-3">
                        <label for="online" class="white">
                            <!-- <input type="checkbox" name="online" id="online" value="1"> 使我保持登录状态 -->
                        </label>
                    </div>
                </div>
                <div class="row">
                    <div class="formControls col-8 col-offset-3">
                        <span class="btn btn-success radius size-L sub">登&nbsp;&nbsp;录</span>&nbsp;&nbsp;
                        <span type="reset" class="btn btn-default radius size-L cancel">取&nbsp;&nbsp;消</span>
                    </div>
                </div>
            </form>
        </div>
    </div>
    <div class="footer">Copyright 青藤微社区 </div>
    <script type="text/javascript" src="http://apps.bdimg.com/libs/jquery/1.9.1/jquery.min.js"></script>
    <script type="text/javascript" src="__PUBLIC__/js/H-ui.js"></script>
    <script type="text/javascript" src="__PUBLIC__/js/H-ui.js"></script>
    <script type="text/javascript" src="__PUBLIC__/lib/layer/2.1/layer.js"></script>
    <script type="text/javascript" src="Tpl/Admin/common/login/dateAjax.js"></script>
    <script type="text/javascript" src="__PUBLIC__/lib/Validform/5.3.2/Validform.min.js"></script> 

    <!--验证码刷新-->
    <script>
        $(document).ready(function () {
            // 表单验证初始化
            $(".sub").on("click",function(){
               formYz();
            });
            

             // 验证码字符隐藏消失
            $(".kanbuq").click(function () {
                var verifyimg = $("#yanzhenImg").attr("src");
                if (verifyimg.indexOf('?') > 0) {

                    $("#yanzhenImg").attr("src", verifyimg + '&random=' + Math.random());

                } else {

                    $("#yanzhenImg").attr("src", verifyimg.replace(/\?.*$/, '') + '?' + Math.random());

                }
            });

            //回车事件
            document.onkeydown = function(e){
                  var ev = document.all ? window.event : e;
                 if(ev.keyCode==13) {
                    formYz();
                 }
            }

        });
    </script>
</body>

</html>